package org.onion.pattern.event.publish;


import java.util.List;

/**
 * 事件发送通道
 */
public interface EventPublishChannel {

    /**
     * 是否支持
     */
    boolean support(Object event);

    void send(Object event);

    void send(List<Object> event);

}
